#ifndef SYS_LOG_BUF_H
#define SYS_LOG_BUF_H
#include <iostream>

class SysLogBuf : public std::streambuf 
{
   public:
      SysLogBuf();
      virtual ~SysLogBuf();
      
      int sync ();
      int overflow (int ch);

      // Defining xsputn is an optional optimization.
      // (streamsize was recently added to ANSI C++, not portable yet.)
      //inline streamsize xsputn (char* text, streamsize n);

   private:
      enum { Size=4095 }; 
      char buffer[Size+1];
};


#endif // 
